package com.ymttest.utils.constant;

/************************************************************************************
 * @File name : ECode.java
 * @Author : zhouyi
 * @Date : 2015年3月10日
 * @Copyright : 洋码头
 ************************************************************************************/
public class ECode {
	public static final String SUCCESS = "200";
	public static final String SUCCESSMSG = "";
	public static final String SUCCESSMSG2 = "null";

	public static final String FAILED201 = "201";
	public static final String FAILED400 = "400";
	public static final String FAILED201_MSG_1 = "操作失败";
	public static final String FAILED201_MSG_2 = "库存不足";
	public static final String FAILED201_MSG_3 = "商品不存在";
	public static final String FAILED201_MSG_4 = "此购物车记录Id不属于当前用户";
	public static final String FAILED201_MSG_5 = "记录不存在";
	public static final String FAILED201_MSG_6 = "不属于当前用户";
	public static final String FAILED201_MSG_7 = "未找到指定购物车项";
	public static final String FAILED201_MSG_8 = "超过商品活动限购数量";
	public static final String FAILED201_MSG_9 = "超过商品限购数量";
	public static final String FAILED201_MSG_10 = "用户不是订单的所有者";
	public static final String FAILED201_MSG_11 = "不存在";
	public static final String FAILED201_MSG_12 = "买家不能在当前订单状态下修改地址,订单号为";
	public static final String FAILED201_MSG_13 = "卖家不能在当前订单状态下修改地址,订单号为";
	public static final String FAILED201_MSG_14 = "当前订单状态不能修改地址";
	public static final String FAILED201_MSG_15 = "此买家已延长过收货时间";
	public static final String FAILED201_MSG_16 = "此交易号不存在";
	public static final String FAILED201_MSG_17 = "支付密码错误";
	public static final String FAILED201_MSG_18 = "洋码头账户金额不足";
	public static final String FAILED201_MSG_19 = "此补款号不存在";
	public static final String FAILED201_MSG_20 = "不能补款";
	// public static final String FAILED201_MSG_21 = "支付密码错误"; //重复
	public static final String FAILED201_MSG_22 = "付款金额与实际需要补款金额不一致";
	public static final String FAILED201_MSG_23 = "交易不存在";
	public static final String FAILED201_MSG_24 = "订单已经全额付款,不能再申请补款";
	public static final String FAILED201_MSG_25 = "申请补款失败或此订单已申请了补款";
	public static final String FAILED201_MSG_26 = "当前状态不能取消补款申请";
	public static final String FAILED201_MSG_27 = "无对应的补款记录";
	public static final String FAILED201_MSG_28 = "当前状态不能发货";
	public static final String FAILED201_MSG_29 = "当前订单还没有超过可再次延期的时间限制（2次延期操作必须间隔24小时）";
	public static final String FAILED201_MSG_30 = "当前状态不能发货";
	public static final String FAILED201_MSG_31 = "此交易对应订单已经完成支付处理[TradingId:";
	public static final String FAILED201_MSG_32 = "收货地址不存在";
	public static final String FAILED201_MSG_33 = "红包超可使用上限";
	public static final String FAILED201_MSG_34 = "红包账户余额不足";
	public static final String FAILED201_MSG_35 = "券码使用次数已超过最大使用数";
	public static final String FAILED201_MSG_36 = "订单总金额不能小于免运卡金额";
	public static final String FAILED201_MSG_37 = "红包账户余额不足";
	public static final String FAILED201_MSG_38 = "当前订单的状态不能支付";
	public static final String FAILED201_MSG_39 = "支付密码错误";
	public static final String FAILED201_MSG_40 = "当前订单状态不能补款";
	public static final String FAILED201_MSG_41 = "支付金额大于用户账户余额";
	public static final String FAILED201_MSG_42 = "付款金额与实际需要补款金额不一致";
	public static final String FAILED201_MSG_43 = "使用红包数量超出限额";
	public static final String FAILED201_MSG_44 = "已付款订单48小时后才能取消订单";
	public static final String FAILED201_MSG_45 = "当前订单使用了红包,不可修改价格";
	public static final String FAILED201_MSG_46 = "当前订单使用了优惠,不可修改价格";
	public static final String FAILED201_MSG_47 = "当前状态不能申请补款";
	public static final String FAILED201_MSG_48 = "当前状态不能操作无需补款";
	public static final String FAILED201_MSG_49 = "当前订单状态不能确认接单";
	public static final String FAILED201_MSG_50 = "交易号不存在";
	public static final String FAILED201_MSG_51 = "完成补款，无需再次补款";
	public static final String FAILED201_MSG_52 = "订单状态不匹配，不能付款，请确认后重新付款";
	public static final String FAILED201_MSG_53 = "无需再次补款";
	// 在外面替换orderid
	public static final String FAILED201_MSG_54 = "订单orderid不存在";
	public static final String FAILED201_MSG_55 = "订单金额与优惠券使用条件不匹配";
	public static final String FAILED201_MSG_56 = "当前订单状态不能确认接单-风控审核中";
	public static final String FAILED201_MSG_57 = "优惠券金额异常";
	public static final String FAILED201_MSG_58 = "此优惠券无效";
	public static final String FAILED201_MSG_59 = "此优惠券无效";
	public static final String FAILED201_MSG_60 = "当前订单的状态不能取消";
	public static final String FAILED201_MSG_61 = "此优惠券使用次数超过上限";
	public static final String FAILED201_MSG_62 = "哈尼，此单有退货/退款，请先去处理~";
	public static final String FAILED201_MSG_63 = "哈尼，你的订单买手刚刚接单了，只能走退货退款流程了哦~";
	public static final String FAILED201_MSG_64 = "当前订单未发货,不能做延长收货处理";
	public static final String FAILED201_MSG_65 = "当前订单无对应的补款记录";
	public static final String FAILED201_MSG_66 = "订单已发货，无需再次发货";
	public static final String FAILED201_MSG_67 = "此BizCode不能处理";
	public static final String FAILED201_MSG_68 = "快速退款失败";
	public static final String FAILED201_MSG_69 = "账户金额不足";
	public static final String FAILED201_MSG_70 = "此订单无待补款记录";
	public static final String FAILED201_MSG_71 = "运费必须大于等于0";
	public static final String FAILED201_MSG_72 = "申请退款金额不能大于实际可退款金额~";

	public static final String ERROR400 = "400";
	public static final String ERROR400_MSG_1 = "买家ID不能为空";
	public static final String ERROR400_MSG_2 = "区号不能为空";
	public static final String ERROR400_MSG_3 = "产品规格ID不能为空";
	public static final String ERROR400_MSG_4 = "商品件数必须大于0";
	public static final String ERROR400_MSG_5 = "国家Id必须大于0";
	public static final String ERROR400_MSG_6 = "购物车记录ID不能为空";
	public static final String ERROR400_MSG_7 = "来源Ip不能为空";
	public static final String ERROR400_MSG_8 = "支付方式不能为空";
	public static final String ERROR400_MSG_9 = "订单号不能为空";
	public static final String ERROR400_MSG_10 = "交易号不能为空";
	public static final String ERROR400_MSG_11 = "BizCode不能为空";
	public static final String ERROR400_MSG_12 = "操作用户Id不能为0";
	public static final String ERROR400_MSG_13 = "订单号不能为0";
	public static final String ERROR400_MSG_14 = "订单号不能为空";
	public static final String ERROR400_MSG_15 = "用户Id不能为0";
	public static final String ERROR400_MSG_16 = "延长时间必须大于0";
	public static final String ERROR400_MSG_17 = "订单信息不能为空";
	public static final String ERROR400_MSG_18 = "商家ID不能为空";
	public static final String ERROR400_MSG_19 = "商品价格异常";
	public static final String ERROR400_MSG_20 = "商品定金价格异常";
	public static final String ERROR400_MSG_21 = "商品数量异常";
	public static final String ERROR400_MSG_22 = "用户Id不能为空";
	public static final String ERROR400_MSG_23 = "自动取消时间异常";
	public static final String ERROR400_MSG_24 = "卖家不能为0";
	public static final String ERROR400_MSG_25 = "订单ID数量在1-200之间";
	public static final String ERROR400_MSG_26 = "订单ID必须>0";
	public static final String ERROR400_MSG_27 = "需要指定OrderStatus";
	public static final String ERROR400_MSG_28 = "需要指定TimeType";
	public static final String ERROR400_MSG_29 = "截止时间需大于开始时间";
	public static final String ERROR400_MSG_30 = "PageIndex不能<1";
	public static final String ERROR400_MSG_31 = "PageSize不能<1,也不能>200";
	public static final String ERROR400_MSG_32 = "指定的参数已超出有效值的范围。\r\n参数名: PageSize";
	public static final String ERROR400_MSG_33 = "BuyerId is invalid";
	public static final String ERROR400_MSG_34 = "SellerId is invalid";
	public static final String ERROR400_MSG_35 = "SellerId不能为0";
	public static final String ERROR400_MSG_36 = "收货人地址不能为空";
	public static final String ERROR400_MSG_37 = "收货人不能为空";
	public static final String ERROR400_MSG_38 = "物流单号不能为空";
	public static final String ERROR400_MSG_39 = "发货信息列表不能为空";
	public static final String ERROR400_MSG_40 = "操作用户Id不能为空";

	public static final String ERROR500 = "500";
	public static final String ERROR500_MSG_1 = "购物车记录ID不能为空";
	public static final String ERROR500_MSG_2 = "买家ID不能为空";
	public static final String ERROR500_MSG_3 = "卖家ID无效";
	public static final String ERROR500_MSG_4 = "购物车ID不能为空";
	public static final String ERROR500_MSG_5 = "未将对象引用设置到对象的实例。";

	public static final String BCODE0 = "0";
	public static final String BCODE1 = "1";
	public static final String BCODE2 = "2";
	public static final String BCODE3 = "3";
	public static final String BCODE4 = "4";
	public static final String BCODE5 = "5";
	public static final String BCODE6 = "101";
	public static final String BCODE7 = "110";
	public static final String BCODE8 = "100";

	// public static final String BCODE8 = "101";
	// order.operate BCode
	public static final String ErrOrderNotExists = "101"; // 订单是否存在
	public static final String ErrStatusNotMatch = "102"; // 订单状态不匹配
	public static final String ErrNoPermission = "103"; // 没有权限操作该订单
	public static final String ErrProcessException = "104"; // 订单处理异常
	public static final String ErrConditionNotMatch = "105"; // 订单处理条件不匹配
	public static final String ErrAddressNotExists = "111"; // 收货地址不存在
	public static final String ErrCouponNotMatch = "112"; // 优惠券不匹配
	public static final String ErrGiftNotMatch = "113"; // 红包不匹配

	/***************** 贝海资金账户 ******************/
	public static final String XLOBO_ERROR_MSG1 = "未找到该用户的账户信息";
	public static final String XLOBO_ERROR_MSG2 = "The value '101' is not valid for Guid.";
	/***************** APP_GROUP *****************/
	public static final String APP_GROUP_STATUS_1 = "1";
	public static final String APP_GROUP_STATUS_2 = "2";

	public static final String APP_STATUS_1 = "1";
	public static final String APP_STATUS_2 = "2";

	public static final String APP_MEMBER_STATUS1 = "1";
	public static final String APP_MEMBER_STATUS0 = "0";
	public static final String APP_GROUP_MSG1 = "您的口令错误,联系团长发送正确口令吧!";
	public static final String APP_GROUP_MSG2 = "该用户未参团!";
	public static final String APP_GROUP_MSG3 = "亲,您已加入团啦!分享朋友圈拼团吧!";
	public static final String APP_GROUP_MSG4 = "活动仅限新用户参加，您可以新开一个团，请点击‘我要开团’!";
	public static final String APP_GROUP_MSG5 = "模板名称不能为空！";
	public static final String APP_MSG1 = "操作成功";
	public static final String APP_MSG2 = "收货地址不能超过5个";
	public static final String APP_MSG3 = "获取成功";
	/***************** UserValidateApi *****************/
	public static final String VERIFY_NOSEND = "生成验证码成功，但是无需发送手机验证码";
	public static final String VERIFY_SEND = "发送手机验证码成功";
	public static final String VERIFY_RENOSEND = "重新生成验证码成功，但是无需给手机发送验证码短信";
	public static final String VERIFY_RESEND = "给手机发送验证码短信成功";
	public static final String VERIFY_BLOCK = "发送验证码频率过快";

	public static final String SUCCESSMSG3 = "OK";

	/***************** 计数服务 ******************/
	public static final String NONODE_MSG = "配置节点不存在";
	public static final String OUTOF_MSG = "指定的参数已超出有效值的范围";
	public static final String NOCOUNTER_MSG = "参数['counter']不能为空";
	public static final String NOTARGETID_MSG = "参数['targetId']不能为空";
	public static final String NOTARGETIDS_MSG = "参数['targetIds']不能为空";
	public static final String NOAPPID_MSG = "参数['appId']不能为空";
	public static final String NOTNULL_MSG = "值不能为 null。";
	public static final String NONATURALNODE_MSG = "计数器配置不存在！";

	/***************** 消息服务 ******************/
	public static final String MSG_APPID_NONE = "MESSAGEDTO APPID IS NULL";
	public static final String MSG_CODE_NONE = "MESSAGEDTO CODE IS NULL";
	public static final String MSG_ERROR = "出现错误。";
	/***************** smsproxy *****************/
	public static final String SMS_BLOCK = "Sms消息屏蔽";
	/***************** 图片服务 *****************/
	public static final String PIC_UPLOAD_SUCCESS = "上传成功";
	/***************** Accounting服务 *****************/
	public static final String ACCOUNT_SUCCESS = "操作成功！";
	public static final String ACCOUNT_AID_UID_NOT_NULL = "AccountId和UserId不能同时为空！";
	public static final String INSTRUCTION_TOO_LONG = "操作指令条数必须大于0小于等于100。";
	public static final int ACCOUNT_NOT_FOUND_CODE = 9001;
	public static final String ACCOUNT_NOT_FOUND = "资金账户不存在";
	public static final String ACCOUNT_NOT_EXIST = "账户不存在！";
	public static final String ACCOUNTTYPE_NOT_NULL = "AccountType不能为空";
	public static final String FUND_REPEAT = "资金重复出入账";
	public static final String IDEMPOTENT = "完全幂等";
	public static final String NOALLIDEMPOTENT = "多笔中有一笔幂等";
	public static final String INSTRUCTION_REPEAT = "存在重复的操作指令。";
	public static final String AMOUNT_GREATER_THEN_ZERO = "Amount必须是大于0的数。";
	public static final String ORIGINALNO_ERROR = "OriginalNo必须填写,并且小于100个字符。";
	public static final String BIZNO_ERROR = "BizNo必须填写,并且小于100个字符。";
	public static final String BIZNO_NOT_FOUND = "无效的BizCode。";
	public static final int ACCOUNT_DISABLE_CODE = 9005;
	public static final String ACCOUNT_DISABLE = "账户不可用";
	public static final int BALANCES_INSUFFICIENT_CODE = 9002;
	public static final String BALANCES_INSUFFICIENT = "可用余额不足";
	public static final int FREEZE_INSUFFICIENT_CODE = 9003;
	public static final String FREEZE_INSUFFICIENT = "冻结余额不足";
	public static final int AUTO_CREATE_FUND_ERROR_CODE = 9007;
	public static final String AUTO_CREATE_FUND_ERROR = "自动开户发生异常";
	/**************** auth服务 **************/
	public static final String AUTH_INVALID_LOGINID = "无效的LoginId";
	public static final String AUTH_NOIP1 = "Ip不能为空";
	public static final String AUTH_NOIP2 = "用户Ip不能为空";
	public static final String AUTH_NOOPERATION_DESCRIPTION = "操作和操作说明不能为空";
	public static final String AUTH_NOTFOUND_USER = "未找到用户";
	public static final String AUTH_NOTFOUND_USER1 = "用户不存在";
	public static final String AUTH_PASS_LENGTHERROR = "密码长度不能小于6";
	public static final String AUTH_PASSNOTMATCH = "原密码不匹配";
	public static final String AUTH_INVALID_TOKEN = "token无效";
	public static final String AUTH_NOTMATCH_TOKEN = "token 不匹配";
	public static final String AUTH_USER_ISLOCKED = "用户被锁定";
	public static final String AUTH_USER_EXIST = "用户存在无法创建";
	public static final String AUTH_EMAIL_EXIST = "邮箱存在，无法创建用户";
	public static final String AUTH_MOBILE_EXIST = "手机存在，无法创建用户";
	public static final String AUTH_NOUSERID = "用户ID不能为空";
	public static final String AUTH_WRONG_USERNAME_PWD = "用户名或密码错误";
	public static final String AUTH_NOPWD = "密码不能为空";
	public static final String AUTH_WRONG_ACTIONTYPE = "错误的 ActionType";
	public static final String AUTH_E100 = "请执行身份验证";

	public static final String AUTH_PASS = "安全认证通过";

	/**************** MessageRoute服务 **************/
	public static final String Message_Route_01 = "买手取消";
	public static final String Message_Route_02 = "自动取消";
	public static final String Message_Route_03 = "您所支付的款项已退回到您的洋码头账户余额中";
	public static final String Message_Route_04 = "不符合码头规则被自动取消";
	public static final String Message_Route_05 = "订单已经发货";
	public static final String Message_Route_06 = "该笔订单被买手延迟";
	public static final String Message_Route_07 = "发起补款";
	public static final String Message_Route_08 = "订单地址及收件人等信息有所变更";

	/******************** 优惠券服务 ****************************/
	public static final String NullException_STRING = "未将对象引用设置到对象的实例。";
	public static final String COUPON_RECEIVECOUPONINFOBATCH_SUCCESS_STRING = "共2个用户领取优惠券，成功2个，失败0个";
	public static final String COUPON_RECEIVECOUPONINFOBATCH_01 = "用户领取私有优惠券成功";
	public static final String COUPON_RECEIVECOUPONINFOBATCH_02 = "优惠券已领完";
	public static final String COUPON_RECEIVECOUPONINFOBATCH_Fail_STRING01 = "共2个用户领取优惠券，成功0个，失败2个";
	public static final String COUPON_RECEIVECOUPONINFOBATCH_Fail_STRING02 = "共2个用户领取优惠券，成功1个，失败1个";
	public static final String COUPON_RECEIVECOUPONINFOBATCH_Fail_STRING03 = "批次号无效(批次不存在或批次已作废)";
	public static final String COUPON_User_Not_Exist_STRING = "当前用户不存在";
	public static final String COUPON_ValidateRecieveCouponInfo_Success = "券码验证通过";
	public static final String COUPON_ValidateRecieveCouponInfo_Fail1 = "券码不存在";
	public static final String COUPON_ValidateRecieveCouponInfo_Fail2 = "值不能为 null。\r\n参数名: source";
	public static final String COUPON_ValidateRecieveCouponInfo_Fail3 = "金额与优惠券使用条件不匹配";
	public static final String COUPON_ValidateRecieveCouponInfo_Fail4 = "券码使用次数已超过最大使用数";
	public static final String COUPON_ValidateRecieveCouponInfo_Fail5 = "当前平台不能使用本券码";
	public static final String COUPON_ValidateRecieveCouponInfo_Fail6 = "券码指定卖家，与当前商品不匹配";
	public static final String COUPON_ValidateRecieveCouponInfo_Fail7 = "券码仅通过手机验证的用户可以使用";
	public static final String COUPON_ValidateRecieveCouponInfo_Fail8 = "券码不在有效期内";
	public static final String COUPON_ValidateRecieveCouponInfo_Fail9 = "当前用户不能使用本券码";
	public static final String COUPON_ValidateRecieveCouponInfo_Fail10 = "当前用户等级不能使用本券码";

	public static final String COUPON_ValidateRecieveCouponList_Fail1 = "没有取到可用的优惠券";
	/******************** userservice服务 ****************************/
	public static final String USER_YES = "yes";
	public static final String USER_NO = "no";

	/********************* 短信网关 *******************************************/
	public static final String smError = "出现错误。";
}
